package com.atguigu.ggkt.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

@Getter
public enum ResultCodeEnum {
    DATA_ERROR(20001,"查不到信息！");
    @EnumValue
    private Integer code ;
    private String message ;

    ResultCodeEnum(Integer code, String message ){
        this.code=code;
        this.message=message;
    }
}
